
package com.android.finaltracer.ui;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;

import com.android.finaltracer.MenualViewGroup;

public class ManualActivity extends Activity {

    private MenualViewGroup viewGroup;

    private int[] drawableResources = new int[] {
    // annotate by cimi 120109
    // R.drawable.manual1, R.drawable.manual2,
    // R.drawable.manual3, R.drawable.manual4, R.drawable.manual5
    };

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        viewGroup = new MenualViewGroup(this);
        setContentView(viewGroup);

        for (int drawableId : drawableResources) {
            ImageView imageView = new ImageView(this);
            imageView.setImageDrawable(getResources().getDrawable(drawableId));
            viewGroup.addView(imageView);
        }
    }
}
